package com.whsr.readservice.vo;

import java.util.Date;

public class DownBookMaintain {
    private Integer id; // 主键id
    private Integer bookId; // 书号
    private Integer status; // 状态
    private Date createTime; // 创建时间
    private Date updateTime; // 最后更新时间

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        DownBookMaintain that = (DownBookMaintain) o;

        return bookId != null ? bookId.equals(that.bookId) : that.bookId == null;
    }
}
